home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Developer & Web Development Tools / Twistpad 1.64 / Setup.exe / $APPDATA / Carthago / Twistpad / Syntax / asm.sdf next >
Text File  |  2007-03-10  |  4KB  |  120 lines

  1. ;Assembler Syntax highlight Script for Twistpad
  2. ;1998 - 2007 ⌐ Carthago Software
  3.  
  4. [::Header::]
  5. SyntaxName=Assembler
  6. Extensions=asm
  7. Spelling=0 
  8. SpellingContexts=1;2
  9. CommentChar=;
  10.  
  11. [comment]
  12. Type=StartStop
  13. Context=1
  14. Priority=10
  15. Scope=0
  16. WholeWordOnly=0
  17. First=;
  18. Last=
  19. Background=Default
  20. Foreground=008000
  21.  
  22. [string]
  23. Type=StartStop
  24. Context=2
  25. Scope=0
  26. Priority=9
  27. WholeWordOnly=0
  28. First="
  29. Last="
  30. Background=Default
  31. Foreground=408080
  32.  
  33. [string1]
  34. Type=StartStop
  35. Context=2
  36. Scope=0
  37. Priority=9
  38. WholeWordOnly=0
  39. First='
  40. Last='
  41. Background=Default
  42. Foreground=408080
  43.  
  44. [Instruction Prefixes]
  45. Type=keyword
  46. Context=101
  47. Scope=0
  48. Priority=6
  49. WholeWordOnly=1
  50. Keyword1=LOCK;REP;REPE;REPNE;REPNZ;REPZ
  51. Background=Default
  52. Foreground=0000FF
  53.  
  54. [Processor Instructions]
  55. Type=keyword
  56. Context=102
  57. Scope=0
  58. Priority=7
  59. WholeWordOnly=1
  60. Keyword1=AAA;AAD;AAM;AAS;ADC;ADX;ADD;AND;APPL;BOUND;BSF;BSR;BSWAP;BT;BTC;BTR;BTS;CALL;CBW;CDQ;CLC;CLD;CLI
  61. Keyword2=CLTS;CMC;CMP;CMPS;CMPSB;CMPSD;CMPSW;CMPXCHG;CWD;CWDE;DAA;DAS;DEC;DIV;ENTER;ESC;HLT;IDIV;IMUL;IN;INC
  62. Keyword3=INS;INSB;INSD;INSW;INT;INTO;INVD;INVLPG;IRET;IRETD;IRETDF;IRETF;JA;JAE;JB;JBE;JC;JCXZ;JE;JECXZ;JG
  63. Keyword4=JGE;JL;JLE;JMP;JNA;JNAE;JNB;JNBE;JNC;JNE;JNG;JNGE;JNL;JNLE;JNO;JNP;JNS;JNZ;JO;JP;JPE;JS;JZ;LAHF;LAR
  64. Keyword5=LDS;LEA;LEAVE;LES;LFS;LGDT;LGS;LIDT;LLDT;LMSW;LODS;LODSB;LODSD;LODSW;LOOP;LOPD;LOOPE;LOOPED;LOOPEW
  65. Keyword6=LOOPNE;LOOPNED;LOOPNEW;LOOPNZ;LOOPNZD;LOOPNZW;LOOPW;LOOPZ;LOOPZD;LOOPZW;LSL;LSS;LTR;MOV;MOVS;MOVSB;MOVSD
  66. Keyword7=MOVSW;MOVSX;MOVZX;MUL;NEG;NOP;NOT;OR;OUT;OUTS;OUTSB;OUTSD;OUTSW;POP;POPA;POPAD;POPF;POPFD;PUSH;PUSHA;PUSHAD;PUSHD;PUSHF;PUSHFD;PUSHW
  67. Keyword8=RCL;RCR;RET;RETF;RETN;ROL;ROR;SAHF;SAL;SAR;SBB;SCAS;SCASB;SCASD;SCASW;SETA;SETAE;SETB;SETBE;SETC;SETE;SETG;SETGE;SETL;SETLE
  68. Keyword9=SETNA;SETNAE;SETNB;SETNC;SETNE;SETNG;SETNGE;SETNL;SETNLE;SETNO;SETNP;SETNS;SETNZ;SETO;SETP;SETPE;SETPO;SETS;SETZ;SIDT;SGDT;SHL;SHLD;SHR
  69. Keyword10=SHRD;SLDT;SMSW;STR;NTC;STD;STI;STOS;STOSD;STOSB;STOSW;SUB;TEST;VERR;VERW;WAIT;WBINVD;XCHG;XLAT;XLATB;XOR;XADD
  70. Background=Default
  71. Foreground=FF8000
  72.  
  73. [Coprocessor Instructions]
  74. Type=keyword
  75. Context=103
  76. Scope=0
  77. Priority=7
  78. WholeWordOnly=1
  79. Keyword1=F2XMI;FABS;FADD;FADDP;FBLD;FBSTP;FCHS;FCLEX;FCOM;FCOMP;FCOMPP;FDECSTP;FDISI;FDIV;FDIVP;FDIVR;FDIVRP;FENI;FFREE;FIADD;FICOM;FICOMP
  80. Keyword2=FIDIV;FIDIVR;FILD;FIMUL;FINCSTP;FINIT;FIST;FISTP;FISUB;FISUBR;FLD;FLD1;FLDCW;FLDENV;FLDENVW;FLD2E;FLDL2T;FLDLG2;FLDLN2;FLDPI;FLDZ;FMUL
  81. Keyword3=FMULP;FNCLEX;FNDISI;FNENI;FNINT;FNOP;FNSAVE;FNSAVEW;FNSTCW;FNSTENV;FNSTENVW;FNSTSW;FPATAN;FPREM;FPTAN;FRNDINT;FRSTOR;FRSTORW;FSAVE;FSAVEW;FSCALE;FSQRT;FST;FSTCW;FSTENV;FSTENVW;FSTP;FSTSW;FSUB;FSUBP;FSUBBR
  82. Keyword4=FSUBBRP;FTST;FWAIT;FXAM;FXCH;FXTRACT;FYL2X;FYL2XPI;FSETPM;FCOS;FLDENVD;FNSAVED;FNSTENVD;FRSTORD;FSAVED;FSIN;FSINCOS;FSTENVD;FUCOM;FUCOMP;FUCOMPP
  83. Background=Default
  84. Foreground=FF0080
  85.  
  86. [Registers]
  87. Type=keyword
  88. Context=104
  89. Scope=0
  90. Priority=7
  91. WholeWordOnly=1
  92. Keyword1=EAX;EBX;ECX;EDX;ESI;EDI;EBP;ESP;EIP;FS;GS;AX;AL;AH;BX;BL;BH;CX;CL;CH;DX;DL;DH;ES;DS;CS;SP;SS;BP;IP;SI;DI;
  93. Background=Default
  94. Foreground=6F6F6F
  95.  
  96. [Compiler Directives]
  97. Type=keyword
  98. Context=105
  99. Scope=0
  100. Priority=7
  101. WholeWordOnly=1
  102. Keyword1=.286;.386;.486;.code;.data;.model;.stack;ASSUME;BYTE;COMPACT;DB;DD;DOSSEG;DUP;DW;DWORD;END;ENDM;ENDP
  103. Keyword2=ENDS;EQU;EXTERN;FAR;HUGE;LARGE;LOCAL;MACRO;MEDIUM;NEAR;OFFSET;ORG;PARA;PROC;PTR;PUBLIC;SEG;SEGMENT;SMALL
  104. Keyword3=STACK;TINY;USES;WORD;
  105. Background=Default
  106. Foreground=FF0000
  107.  
  108. [Reserved Words]
  109. Type=keyword
  110. Context=106
  111. Scope=0
  112. Priority=7
  113. WholeWordOnly=1
  114. Keyword1=@B;@F;ABS;ADDR;ALL;ASSUMES;AT;BASIC;BYTE;C;CARRY?;CASEMAP;COMMON;COMPACT;CPU;DOTNAME;DWORD;EMULATOR;EPILOGUE;ERROR;EXPORT;EXPR16;EXPR32;FAR
  115. Keyword2=FAR16;FARSTACK;FLAT;FORCEFRAME;FORTRAN;FWORD;HUGH;LABEL;LANGUAGE;LARGE;LISTING;LJMP;LOADDS;M510;MEDIUM;MEMORY;NEAR;NEAR16;NEARSTACK;NODOTNAME;NOEMULATOR;NOKEYWORD;NOLJMP;NOM510
  116. Keyword3=NONE;NONUNIQUE;NOOLDMACROS;NOOLDSTRUTS;NOREADONLY;NOSCOPED;NOSIGNEXTENDED;NOTHING;NOTPUBLIC;OLDMACROS;OLDSTRUTS;OS_DOS;OVERFLOW;PARA;PARITY?;PASCAL
  117. Keyword4=PRIVATE;PROLOGUE;QWORD;RADIX;READONLY;REAL10;REAL4;REAL8;REQ;SBYTE;SCOPED;SDWORD;SETIF2;SIGN;SMALL;STACK;STDCALL;SWORD;SYSCALL;TBYTE;TINY;SE16;USE32;VARARG;WORD;ZERO
  118. Background=Default
  119. Foreground=000080
  120.